package com.xin.uploadanddownload.service;

import com.xin.uploadanddownload.model.FileVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.OutputStream;

public interface FileService {
    public FileVo upload(MultipartFile file) throws IOException;
    public Object download(OutputStream os, String filePath) throws IOException;
}
